package com.core.util;

import com.core.vo.TableBase;

import java.util.ArrayList;
import java.util.List;

/**
 * sql文件解析工具
 */
public class AnalysisUtil {

    private static List<TableBase> allTableBases = null;

    /**
     * sql解析工具类
     * @return
     */
    public static List<TableBase> sqlAnalysis(String sqlStr) {
        allTableBases = new ArrayList<>();
        List<TableBase> tableBases = new ArrayList<>();
        // 建库语句起始位CREATE DATABASE IF NOT EXISTS


        // 建表语句起始位CREATE TABLE


        return tableBases;
    }



}
